<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
	<script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css" />
	<!--引入分页-->
	<link rel="stylesheet" href="../../lib/pagination/pagination.css">
	<link rel="stylesheet" type="text/css" href="../../lib/Validform/5.3.2/style.css" />
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css" />
	<link rel="stylesheet" type="text/css" href="../../ht-css/Project.css" />
	<link rel="stylesheet" type="text/css" href="../../ht-css/jedate.css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css" />
	<title>分类管理</title>
</head>
<body data-id="41">
<nav class="breadcrumb">商品管理 <span class="c-gray en">&gt;</span> 品牌管理
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="#" onclick="reload()" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
	<div></div>
</nav>
<article class="page-container">
	<div id="tab_topnav" class="HuiTab">
		<div class="tabBar clearfix"><span>品牌管理</span></div>
		<!--品牌管理-->
		<div class="tabCon bk-gray bg-1 pd-20">
			<div class="va-m lh-20 f-16 pb-15">
				<form class="pd-5 pb-10" id="brandSearchForm">
					<div class="lh-30 pd-10" id="searchInfo">
						<table class="table-hover table_li ml-10 mb-10 table">
							<thead class="text-l">
							<tr>
								<td class="col-3-1">
									<div class="row ml-10">
										<label class="form-label f-l pt-5">品牌名称：</label>
										<div class="formControls col-xs-8 col-sm-9">
											<!--onkeyup="ValidateValue(this)"-->
											<input type="text" class="input-text radius" id="brandName" name="brandName" placeholder="请输入品牌名称关键字" datatype="*0-15" errormsg="格式错误，请重新输入" ignore="ignore">
										</div>
										<span class="Validform_checktip"></span>
									</div>
								</td>
								<td class="col-3-1"><label class="form-label f-l pt-5">状态：</label>
									<select class="select radius f-l ml-10" name="brandclass" id="STUTAS" size="1" style="width:29%; height: 30px;">
										<option  value = "" >状态</option>
										<option value = "0">启用</option>
										<option value = "1">禁用</option>
									</select>
								</td>
								<td class="col-3-1">
									<div class="row ml-10">
										<label class="form-label f-l pt-5">创建时间：</label>
										<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')}'})" id="logmin" class="input-text Wdate radius" style="width:120px;margin-left: -92px;">
										~
										<input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}' })" id="logmax" class="input-text Wdate radius" style="width:120px;">
									</div>

								</td>

								<td class="col-3-1">&nbsp;</td>
							</tr>
							</thead>
						</table>

						<div class="text-c mb-10">
							<input id="bottm" type="submit" class="btn btn-secondary radius size-S botter powerButton 1000001954909102" value="查&nbsp;&nbsp;询">
							<input name="" type="reset" onclick="resetDiv()" class="btn radius size-S botter ml-10 powerButton 1000001954909102" value="重&nbsp;&nbsp;置">
						</div>

					</div>
					<!--<div class="text-l pl-20 clearfix"><input class="btn radius btn-secondary-outline radius f-l powerButton 1000001017645877" onclick="addBrand()" type="button" value="新增"></div>-->
					<table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
						<thead>
						<tr class="text-c">
							<th width="50">LOGO</th>
							<th width="60">品牌名称</th>
							<th width="60">品牌英文名称</th>
							<th width="60">品牌编号</th>
							<th width="60">主品牌</th>
							<th width="50">状态</th>
							<th width="50">创建时间</th>
							<!--<th width="50">操作</th>-->
						</tr>
						</thead>
						<tbody class="shun">
						</tbody>
					</table>
					<div class="dataTables_wrapper goods_fanye clearfix">
						<div class="f-r pageturning M-box3"></div>
					</div>
				</form>
			</div>
		</div>
	</div>

</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/Project.js?rev=@@hash"></script>
<script type="text/javascript" src="../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--品牌设置-->
<script src="../../ht-js/goods/goods-brandSet.js?rev=@@hash"></script>
<script type="text/javascript" src="../../ht-js/power.js?rev=@@hash"></script>

<script>
    window.onload = brand_list(1, 50)
    $(function() {
        $("#brandSearchForm").Validform({
            tiptype: 2,
            callback: function(form) {
                brand_list(1, 50);
                return false;
            }
        });
        $("#cxManage").Validform({
            tiptype: 2,
            callback: function(form) {
                cx_list();
                return false;
            }
        });
    })
    function timeSet(startEl,endEl,timeFormat){
        /*startEl=>开始时间Input的id，endEl=>结束时间Input的id，时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）*/
        /*时间设置*/
        var start = {
            format: timeFormat,
            maxDate: $.nowDate(),
            okfun: function(obj){
                end.minDate = obj.val; //开始日选好后，重置结束日的最小日期
            }
        };
        var end = {
            format: timeFormat,
            maxDate: $.nowDate(),
            okfun: function(obj){
                start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
            }
        };
        $.jeDate(startEl,start);
        $.jeDate(endEl,end);
    }
    timeSet("#timemin","#timemax","YYYY-MM-DD hh:mm:ss");

    jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
        var $tab_menu = $(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();
        $tab_menu.bind(tabEvent, function() {
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index = $tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show();
        });
    }

    $(function() {
        $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
    });
    // #tab_demo 父级id
    // #tab_demo .tabBar span 控制条
    // #tab_demo .tabCon 内容区
    // click 事件 点击切换，可以换成mousemove 移动鼠标切换
    // 1	默认第2个tab为当前状态（从0开始）
    // 刷新
    function reload() {
        //location.replace(location.href);
        window.location.reload(location.href);
    }
</script>
</body>

</html>